﻿<UserControl x:Class="HAOest.DianDi.UI.Control.NoteItemControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="113.91" d:DesignWidth="539.098">
    <Border x:Name="border" BorderBrush="{DynamicResource ListBoxItemsDividingLineBrush}" BorderThickness="0,0,0,0" Margin="0" Height="Auto" Width="Auto" d:DesignWidth="461" HorizontalAlignment="Stretch">
        <Grid Height="Auto" Margin="0" Width="Auto">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="1"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="215"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock x:Name="TextBlockId" Text="{Binding Id}" Visibility="Collapsed"  VerticalAlignment="Top" Grid.ColumnSpan="2" Height="0"  />
            <TextBlock x:Name="TextBlockContent" Text="{Binding ContentText}" FontSize="14" Width="Auto" Margin="10"  Padding="12,5,5,1" VerticalAlignment="Stretch" TextTrimming="CharacterEllipsis" Grid.ColumnSpan="2" TextWrapping="Wrap" LineHeight="24"  />
            <TextBlock x:Name="TextBlockDate" Text="{Binding Date}" FontSize="12" Margin="10,0,0,0" Grid.ColumnSpan="1" Grid.Row="1" Padding="12,1,5,5" VerticalAlignment="Stretch" TextTrimming="CharacterEllipsis" Foreground="#FF7E7E7E"   />
            <Rectangle Fill="#FF444444" Grid.Row="2" Grid.ColumnSpan="2" Margin="10,0"/>
            <TextBlock x:Name="TextBlockDelete" Text="删除" FontSize="12" Margin="0,1,20,0" Grid.ColumnSpan="1" Grid.Row="1" Padding="12,1,5,5" TextTrimming="CharacterEllipsis" Foreground="#FF970000" Grid.Column="1" Grid.RowSpan="2" HorizontalAlignment="Right"   />
        </Grid>
    </Border>
</UserControl>
